package com.hdu.careerplan.configuration;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration
public class PythonTypeConfig {

    public static String COMMAND_HEAD;
    public static String DIR_TYPE;

    public static String CHARSET_NAME;

    @Value("${python-type-config.command-head}")
    public void setCommandHead(String commandHead) {
        COMMAND_HEAD = commandHead;
    }

    @Value("${python-type-config.dir-type}")
    public void setDirType(String dirType) {
        DIR_TYPE = dirType;
    }

    @Value("${python-type-config.charset-name}")
    public void setCharsetName(String charsetName) {
        CHARSET_NAME = charsetName;
    }
}
